{extend name="base" /}

{block name="nav"}{/block}

{block name="sidebar"}{/block}

{block name="content"}

<div class="">
    {:Yoyo\\yoyo_render('header', ['heading'=>'Yoyo Admin', 'subHeading'=>'', 'button'=>''])}
    <div class="" style="text-align: -webkit-center">
      <form method="post" action="{:url('/user/login')}">
        <div class="border-l border-r rounded-5">
            {:Yoyo\\yoyo_render('input', [
                'name'     => 'username', 
                'required' => true, 
                'inline'   => true,
                'label'=>'用户名',
            ])}

            {:Yoyo\\yoyo_render('input', [
                'name'     => 'password',
                'type'     => 'password', 
                'required' => true, 
                'inline'   => true,
                'label'    => '密码',
            ])}
        </div>
        <button type="submit" class="
        w-96
        px-6
        py-2.5
        bg-blue-600
        text-white
        font-medium
        text-lg
        leading-tight
        uppercase
        rounded
        shadow-md
        hover:bg-blue-700 hover:shadow-lg
        focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0
        active:bg-blue-800 active:shadow-lg
        transition
        duration-150
        ease-in-out">登录</button>
    </form>
</div>
</div>


{/block}